package com.elin4it.ssm.mapper;

import com.elin4it.ssm.pojo.GameRoom;
import com.elin4it.ssm.pojo.GameRoomExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GameRoomMapper {
    int countByExample(GameRoomExample example);

    int deleteByExample(GameRoomExample example);

    int deleteByPrimaryKey(Integer roomId);

    void insert(GameRoom record);

    int insertSelective(GameRoom record);

    List<GameRoom> selectByExample(GameRoomExample example);

    GameRoom selectByPrimaryKey(Integer roomId);

    int updateByExampleSelective(@Param("record") GameRoom record, @Param("example") GameRoomExample example);

    int updateByExample(@Param("record") GameRoom record, @Param("example") GameRoomExample example);

    int updateByPrimaryKeySelective(GameRoom record);

    int updateByPrimaryKey(GameRoom record);
    int selectByRoomId();
    List<GameRoom> selectOpenidBelongToGameRoom(@Param("openid1")String openid1,@Param("openid2") String openid2);
}